home *** CD-ROM | disk | FTP | other *** search
/ Just Call Me Internet / Just Call Me Internet.iso / prog / atari / c / ck5a189s / ckcker.upd < prev    next >
Text File  |  1993-07-05  |  28KB  |  574 lines

  1. File CKCKER.UPD, Supplement to "Using C-Kermit".                   -*- text -*-
  2.  
  3. Most recent update: Tue Jun 29 17:07:59 1993
  4. As of version:      5A(189)
  5.  
  6. Authors: Frank da Cruz and Christine M. Gianone
  7. Address: Watson Laboratory, Columbia University Academic Information Systems
  8.          612 West 115th Street, New York, NY 10025, USA, Earth
  9. Phone:   +1 212 854-5126
  10. Fax:     +1 212 662-6442  -- or --  +1 212 663-8202
  11. E-Mail:  kermit@columbia.edu (Internet), KERMIT@CUVMA (BITNET/EARN/CREN)
  12.  
  13.   Copyright (C) 1985, 1993, Trustees of Columbia University in the City of New
  14.   York.  The C-Kermit software may not be, in whole or in part, licensed or
  15.   sold for profit as a software product itself, nor may it be included in or
  16.   distributed with commercial products or otherwise distributed by commercial
  17.   concerns to their clients or customers without written permission of the
  18.   Office of Kermit Development and Distribution, Columbia University.  This
  19.   copyright notice must not be removed, altered, or obscured.
  20.  
  21. This file lists changes made to C-Kermit since version 5A(188) was released
  22. and the first edition of the book "Using C-Kermit" was published.  Use this
  23. file as a supplement to "Using C-Kermit".  If the "most recent update" shown
  24. above is long ago, contact Columbia University to see if there is a newer
  25. release.  Also see the CKCKER.BWR ("C-Kermit beware") file for hints, tips,
  26. restrictions, etc, plus the system-specific "beware file", e.g. CKUKER.BWR for
  27. UNIX, CKOKER.BWR for OS/2, etc.
  28.  
  29. ------------------------------
  30. C-KERMIT DOCUMENTATION
  31.  
  32. Frank da Cruz and Christine M. Gianone, "Using C-Kermit", Digital Press,
  33. Burlington, MA, 1993, 514 pages.
  34.  
  35.   DEC Order Number:   EY-J896E-DP
  36.   Digital Press ISBN: 1-55558-108-0
  37.   Prentice Hall ISBN: 0-13-037490-3
  38.  
  39. US single-copy price: $34.95; quantity discounts available.  Available in
  40. computer bookstores or directly from Digital Press.  In the USA, call
  41. DECdirect toll-free 1-800-344-4825 to order; major credit cards accepted.
  42.  
  43. Overseas, order through your bookstore (refer to the Prentice Hall ISBN shown
  44. above) or your local Digital Equipment Corporation branch (refer to the DEC
  45. order number).  You can also order from Columbia University:
  46.  
  47.   Kermit Development and Distribution
  48.   Columbia University Academic Information Systems
  49.   612 West 115th Street
  50.   New York, NY  10025  USA
  51.   Telephone: (USA) 212 854-3703
  52.  
  53. Domestic and overseas orders accepted.  Price: $34.95 (US, Canada, and
  54. Mexico), $45 elsewhere.  Orders may be paid by MasterCard or Visa, or prepaid
  55. by check in US dollars.  Add $35 bank fee for checks not drawn on a US bank.
  56. Price includes shipping.  Do not include sales tax.
  57.  
  58. ------------------------------
  59. ERRATA & CORRIGENDA
  60.  
  61. The following errors have been noted in "Using C-Kermit" (first edition,
  62. first printing).
  63.  
  64. PAGE    REMARKS
  65.  xviii  Fridrik Skalason's name is spelled with an eth, not a d.
  66.  xx     Ditto.
  67.  13-14  The list of systems supported by C-Kermit is not exhaustive.
  68.     New systems discovered since the printing date are listed in
  69.     the file CKCxxx.UPD, where xxx is the current edit number, e.g. 189.
  70.  53     Table 3-2, HST-COURIER, contains extraneous typesetting information
  71.     ("Courier10PitchBT-Roman").  (This probably happened because an
  72.     error-correcting protocol was not used to download the final
  73.     PostScript to the printer :-)  Two new modem types, COURIER and
  74.     SPORTSTER have been added, which are the same as HST-COURIER.  The
  75.     description should say "US Robotics modems".
  76.  85     The command in the final line in the example, "send olga It's
  77.     765-4321", should be underlined.
  78.  93     The description of SET SESSION-LOG fails to mention that XON and
  79.     XOFF are removed from a text-mode session log.
  80. 189     The description of JIS X 0201 says that it differs from a
  81.     Latin Alphabet in that the right half has some empty positions.
  82.     Some Latin Alphabets (e.g. Latin/Hebrew) also have empty positions.
  83. 249     In the syntax description of the FOR command, the words "initial",
  84.     "final", and "increment" should be in italics, and there should be
  85.     no right angle bracket (>) following the word "increment".
  86. 266-267 The section File Transfer Shortcuts does not apply to file transfer
  87.     with MS-DOS Kermit 3.13 or later.  The escape sequences associated
  88.     with the TERMINALR and TERMINALS macros in MS-DOS Kermit 3.12 and
  89.     earlier are now used for changing screen-writing direction during
  90.     terminal emulation, as on real DEC Hebrew VT terminals.  See
  91.     CKCKER.UPD or MSKERM.UPD for detailed information.
  92. 269     The OPEN !READ command example for VMS should use /EXCLUDE= rather
  93.     than /EXCEPT=.
  94. 323-324 The description of C-Kermit program exit status codes fails to
  95.     mention the special method used by (Open)VMS, in which these codes
  96.     are assigned to the symbol CKERMIT_STATUS (see CKVKER.BWR).
  97. 352     The syntax of SET TELNET TERMINAL-TYPE should include italicized
  98.     square brackets around "text" to indicate that the text is optional,
  99.     and that if it is omitted, the TELNET TERMINAL-TYPE reverts to the
  100.     default, usually the terminal type of your login session.
  101. 352     The entries for SET TERMINAL ANSWERBACK, ARROW-KEYS, and KEYPAD-MODE
  102.     are missing.  These are OS/2-specific commands.
  103. 353     The entries for SET TERMINAL TYPE and WRAP are missing.         
  104.     These are also OS/2-specific commands.
  105. 366     In Table II-2, "ATSO=0" should be "ATS0=1".
  106. 403     The section "Running C-Kermit in DCL Command Procedures" fails to
  107.     describe how to use C-Kermit's exit status codes (see CKVKER.BWR).
  108. 419     The "stepping-stone" at the beginning of the OS/2 Appendix fails
  109.     to refer readers to the CKCKER.BWR and CKOKER.BWR files.
  110. 420     Footnote.  The COMDMA driver, though discussed in the OS/2
  111.     documentation, never actually existed.  The regular COM.SYS driver
  112.     is used instead.
  113. 425     The first paragraph in the Serial Communications section fails to
  114.     mention that other serial-port device names are also acceptable.
  115. 430     Table V-3 fails to include the Num Lock key, and the accompanying
  116.     text does not mention the fact the fact that it can be assigned
  117.     with SET KEY.  See CKOKER.BWR.
  118. 431     Third paragraph.  "F1 through F4" should be "F1 through F10".
  119.     Also, the Home key should be included in the list of keys that
  120.     control screen rollback.
  121. 432     The description of SET TERMINAL ANSWERBACK is missing.
  122. 438     No explanation of "nbits".  1=8-bit characters, 2=7-bit characters.
  123.     "baud" should be "bps".
  124. 440     Table V-10.  ESC W misplaced (alphabetically).
  125. 447     "SET FILENAMES" should be "SET FILE NAMES".
  126. 462     The text at the top of the page should say "ISO 8859", not "ISO 8858".
  127. 463     Table VIII-3.  The text fails to mention that the Chinese Roman,
  128.     Icelandic, and Japanese Roman sets are not used by C-Kermit.
  129.     All nine occurences of accent acute (') by itself in column 6/00 
  130.     should be accent grave (`).  Column 7/14 for Norwegian should show
  131.     macron (overline) rather than vertical bar.
  132. 486     The Cyillic expansion for "KOI" is misspelled.
  133. 491     Reference [6].  The third Cyrillic word is misspelled.
  134. 495     Reference [48].  "Unterschiessheim" should be "Unterschleissheim".
  135.     Reference [50].  Second Cyrillic word misspelled.
  136. Index   Lacks an entry for Telenet ("Telenet, See SprintNet").
  137.     Lacks an entry for Encryption (pages 304-306).
  138.  
  139. Please send reports of other errors to the authors, as well as suggestions for
  140. improvements, additional index entries, and any other comments.
  141.  
  142. ------------------------------
  143. MAJOR NEW FEATURES
  144.  
  145. The following major features were added since "Using C-Kermit" was published
  146. in February 1993:
  147.  
  148.   (1) Hebrew Character-Set Support
  149.   (2) Control over Keyboard Cancellation of Packet Mode
  150.   (3) Explicit Control of Repeat-Count and Control-Character Prefixing
  151.   (4) OS/2 C-Kermit improvements
  152.   (5) New \f...() functions
  153.   (6) POSIX improvements
  154.   (7) OUTPUT command improvements
  155.   (8) New APC command for use with MS-DOS Kermit
  156.  
  157. 1. HEBREW CHARACTER-SET SUPPORT
  158.  
  159. C-Kermit 5A(189) has the following new commands for Hebrew file transfer:
  160.  
  161.   SET TRANSFER CHARACTER-SET HEBREW-ISO = ISO 8859-8 Latin/Hebrew Alphabet
  162.  
  163.   SET FILE CHARACTER-SET HEBREW-ISO     = ISO 8859-8 Latin/Hebrew Alphabet
  164.   SET FILE CHARACTER-SET CP862          = Hebrew PC Code Page
  165.   SET FILE CHARACTER-SET HEBREW-7       = DEC 7-Bit (VT100) Hebrew
  166.   
  167. These commands work just like the corresponding commands for Cyrillic
  168. character sets, described in Chapter 9 of "Using C-Kermit".  When receiving
  169. files, C-Kermit recognizes Hebrew files automatically if the file sender tags
  170. the file as Hebrew in the Attribute packet, which the file sender should do if
  171. it has been given the SET TRANSFER CHARACTER-SET HEBREW command; C-Kermit does
  172. not, however, switch automatically to a Hebrew file character-set, so you must
  173. choose one in advance if that's what you want.  The tag is "I6/138" (these are
  174. ISO registration numbers).  When sending files in Hebrew mode, of course,
  175. C-Kermit includes the same tag.
  176.  
  177. An invertible translation table between Latin/Hebrew and CP862 is used during
  178. both terminal emulation and file transfer.  The translation table between
  179. Hebrew-7 and Latin/Hebrew is non-invertible because these character sets are
  180. different sizes.
  181.  
  182. Here is an example of uploading a Hebrew file from a PC to UNIX.  The PC
  183. version is coded in the Hebrew PC code page, and the UNIX version is to be
  184. stored in the 7-bit Hebrew character-set so it can be sent as network e-mail:
  185.  
  186.   C-Kermit> set file character-set hebrew-7 ; I want a 7-bit version for email
  187.   C-Kermit> receive                         ; Wait for the file.
  188.   <Alt-X>                                   ; Escape back to the PC
  189.   MS-Kermit> set file type text             ; Make sure we are in text mode
  190.   MS-Kermit> set file character-set cp862   ; File coded in Hebrew PC code page
  191.   MS-Kermit> set xfer character-set hebrew  ; Send using ISO Latin/Hebrew
  192.   MS-Kermit> send foo.bar                   ; Send the file  
  193.  
  194. The file sender automatically tells the file receiver that the transfer
  195. character-set is Hebrew.
  196.  
  197. The three Hebrew character sets are also available for use in C-Kermit's
  198. TRANSLATE command, which translates a local file from one character-set to
  199. another.  Thus you can use C-Kermit to convert a local file from, say,
  200. Latin/Hebrew to Hebrew-7.
  201.  
  202. C-Kermit's Hebrew file transfer features can be used in conjunction with
  203. MS-DOS Kermit 3.13 and later (with which C-Kermit shares the same translation
  204. tables to ensure consistent translations) and IBM Mainframe Kermit 4.2.x,
  205. which translates between Latin/Hebrew and IBM CECP 424 (the Hebrew EBCDIC
  206. Country Extended Code Page).
  207.  
  208. HEBREW TERMINAL EMULATION
  209.  
  210. There is no support for right-to-left screen-writing direction or other
  211. terminal emulation features in C-Kermit, since C-Kermit does not do terminal
  212. emulation itself, but just provides a terminal-independent "pipe" to your
  213. terminal emulator.  However, you can still have C-Kermit provide the character
  214. translations during CONNECT mode:
  215.  
  216.   SET TERMINAL CHARACTER-SET { HEBREW-ISO, HEBREW-7, CP862 } [ local-cset ]
  217.  
  218. The terminal character-set affects not only CONNECT mode, but also the session
  219. log and the TRANSMIT command.
  220.  
  221. Note: OS/2 C-Kermit does include a terminal emulator, but it is a VT102
  222. emulator, whereas VT220 or higher is required for Hebrew operations such as
  223. host-initiated character-set designation & invocation, host-initiated
  224. screen-writing direction and keyboard mode changes, etc.  Thus, only
  225. character-set translation is provided in this case.
  226.  
  227. You can test for the presence of Hebrew support in your version of C-Kermit
  228. using the CHECK HEBREW command or the SHOW FEATURES command.
  229.  
  230. 2. KEYBOARD CANCELLATION OF PACKET MODE.
  231.  
  232. When C-Kermit is in remote mode and in packet mode, the user can type two
  233. consecutive Control-C characters to get out of packet mode.  But on noisy
  234. connections, two Control-C's might show up as noise; or you might want to
  235. allow C-Kermit to accept Control-C characters literally in data packets during
  236. file transfer.  The following command lets you control this feature:
  237.  
  238.   SET TRANSFER CANCELLATION { OFF, ON [ <code> [ <number ] ] }
  239.  
  240. OFF turns off the packet-mode cancellation feature, preventing escape from
  241.   packet mode except by normal protocol operations: completion, timeout, error
  242.   packet, etc.  USE WITH CAUTION.
  243.  
  244. ON enables this feature.  The optional <code> is the ASCII code for the
  245.   control character (0 through 31 or 127) to be used for interruption (the
  246.   default is 3 = Ctrl-C), and the optional <number> is the number (default 2)
  247.   of consecutive copies of the character required to cause interruption.  For
  248.   example, "SET XFER CANCEL ON 6 5" tells C-Kermit to break out of packet mode
  249.   upon receipt of 5 consecutive Ctrl-F (ASCII 6) characters.
  250.  
  251. If you SET TRANSFER CANCELLATION OFF, you might still need a manual method of
  252. getting remote-mode C-Kermit out of packet mode.  This can be accomplished by
  253. escaping back to your local Kermit and giving a RECEIVE command, then typing E
  254. (or Ctrl-E) to send an error packet.  Or just type the following Kermit packet:
  255.  
  256.   <Ctrl-A># E*   <-- This is a "fatal error" packet.
  257.  
  258. If the remote Kermit is in server mode, you can send a FINISH command, or if
  259. you don't have a local Kermit to escape back to, type:
  260.  
  261.   <Ctrl-A>$ GF4  <-- This is a FINISH command packet, for the server.
  262.  
  263. The SET TRANSFER CANCELLATION command was installed for the UNIX, VMS, and DG
  264. versions of C-Kermit 5A(189).  Use SHOW PROTOCOL to find out the current
  265. settings.
  266.  
  267. 3. EXPLICIT CONTROL OF REPEAT-COUNT AND CONTROL-CHARACTER PREFIXING
  268.  
  269. This feature allows you to improve C-Kermit's file transfer performance on
  270. connections that you know are transparent to a certain set of control
  271. characters.  It lets you tell C-Kermit exactly which control characters need
  272. to be prefixed and which ones don't when sending files.
  273.  
  274. SET { SEND, RECEIVE } CONTROL-PREFIX <code>
  275.   Sets the control-character prefix which C-Kermit uses to the ASCII character
  276.   represented by the numeric <code>.  The <code> must be in the range 33-63 or
  277.   96-126.  Normally it is 35 (#, number sign).  SEND is the one that C-Kermit
  278.   should use in packets it is sending.  RECEIVE should normally never be used,
  279.   except to override some kind of protocol negotiation foulup with a buggy
  280.   commercial or shareware Kermit implementation.
  281.   Synonym: SET { SEND, RECEIVE } QUOTE.
  282.  
  283. SET CONTROL-CHARACTER UNPREFIXED { <code>..., ALL }
  284.   Says you think it's safe to include the control character represented by
  285.   <code> without prefixing in packets which C-Kermit sends.  The <code> is the
  286.   numeric ASCII code for a control character, 1-31, 127-159, or 255.  For
  287.   example, linefeed (code 10) is normally sent as two printable characters,
  288.   #J.  SET CONTROL UNPREFIXED 10 lets linefeed be sent literally.  Include the
  289.   word ALL to unprefix all control characters (except 0).  Or you can specify
  290.   a list of one or more numeric values, separated by spaces, e.g.:
  291.  
  292.      SET CONTROL UNPREFIXED 2 4 5 18 20
  293.  
  294.   If you can safely declare a lot of control characters to be UNPREFIXED, you
  295.   can send binary files (esp. precompressed ones) up to about 20-25% faster.
  296.   If you include a control character in this category that causes trouble,
  297.   however, the transfer will fail, so experimentation is necessary.  This
  298.   command will not let you "unprefix" the NUL character (0), nor the following
  299.   characters if C-Kermit's current FLOW-CONTROL setting is XON/XOFF: 17, 19,
  300.   145, 147.  Nor can you unprefix character 255 on a TELNET connection.
  301.  
  302. SET CONTROL-CHARACTER PREFIXED { <code>..., ALL }
  303.   Says that the given control character(s) must be prefixed in Kermit packets.
  304.   By default, all control characters, 0-31, 127-159, and 255, are prefixed.
  305.  
  306. SHOW CONTROL-PREFIXING
  307.   Displays the current control prefix and a table of all control-character
  308.   values, showing 1 for each one that will be prefixed and 0 for each one that
  309.   will not be prefixed.
  310.  
  311. SET REPEAT PREFIX <code>
  312.   Sets the repeat-count prefix to the ASCII character represented by the
  313.   numeric <code>.  Normally it is 126 (tilde).  The <code> must be in the
  314.   range 33-63 or 96-126.
  315.  
  316. SET REPEAT COUNTS { OFF, ON }
  317.   Turns the repeat-count compression mechanism off and on.  REPEAT COUNTS are
  318.   ON by default.  Turn them OFF in case they cause trouble when used against a
  319.   faulty Kermit implementation in a shareware or commercial communications
  320.   program.  Or when transferring precompressed files (like .ZIP or .Z files),
  321.   since it is very rare to find runs of repeated characters, and disabling the
  322.   repeat-count mechanism frees another character from prefixing, thus
  323.   resulting in slightly more efficient transfers.
  324.  
  325. The purpose of the SET CONTROL UNPREFIX command is to UNILATERALLY configure
  326. C-Kermit to skip prefixing and printable encoding of selected control
  327. characters to achieve higher performance when sending files.  This feature
  328. takes advantage of the fact that most Kermit programs will accept control
  329. characters within packet data-fields literally, provided they get through at
  330. all, and provided they do not have a special meaning to the receiving Kermit
  331. program (such as, in many cases, the packet-start and packet-end characters).
  332.  
  333. There is no protocol negotiation between the two Kermit programs to determine
  334. a "safe set" of control characters, and in fact any such negotiation would be
  335. largely meaningless, because in most cases the two Kermit programs don't have
  336. all the needed information.  For example, there might be a terminal server or
  337. PAD between them that is sensitive to a particular control character, even
  338. though the two Kermit programs are not.
  339.  
  340. If you include in your SET CONTROL UNPREFIXED list one or more control
  341. characters that are unsafe, any of several things might happen:
  342.  
  343.  1. Transfer of any file containing these characters will fail.
  344.  
  345.  2. The receiving Kermit program might be interrupted or halted.
  346.  
  347.  3. Your connection might become hung, stuck, or broken.  For example because
  348.     a control character causes a PAD, terminal server, or similar device to go
  349.     from online mode to command mode.
  350.  
  351. The set of safe control characters depends on the two Kermit programs, their
  352. settings, the host operating systems and their settings, the communication and
  353. flow control methods, and all the devices, drivers, and protocols that lie
  354. between the two Kermit programs.  Therefore, this feature is recommended only
  355. for the stout of heart.  You must be willing to experiment in order to achieve
  356. the optimal safe set.  Create a short file containing all 256 possible bytes
  357. in sequence and also in pairs, as well as several text strings surrounded by
  358. CRLFs; for example, compile and run the following program, redirecting its
  359. output to a file:
  360.  
  361. ---(cut here)---
  362. #include <stdio.h>
  363. main() {
  364.     int i;
  365.     puts("\r\n256-byte test pattern:\r\n");
  366.     for (i = 0; i < 256; i++) putchar(i); /* singles */
  367.     puts("\r\n256-double-byte test pattern:\r\n");
  368.     for (i = 0; i < 256; i++) { putchar(i); putchar(i); } /* in pairs */
  369.     puts("\r\nEnd of test patterns\r\n");
  370. }
  371. ---(cut here)---
  372.  
  373. To send the file to MS-DOS Kermit from either C-Kermit or MS-DOS Kermit,
  374. try the following settings:
  375.  
  376.   SET CONTROL UNPREFIXED ALL ; Turn prefixing off for all but 0
  377.   SET CONTROL PREFIXED 1     ; Turn it back on for packet-start character
  378.   SET CONTROL PREFIXED 129   ; and 8-bit version thereof
  379.  
  380. (HINT: Abbreviate SET CON U and SET CON P)
  381.  
  382. Or to send the file from MS-DOS Kermit to C-Kermit, tell MS-DOS Kermit to:
  383.  
  384.   SET CON U ALL   ; Turn prefixing off for all
  385.   SET CON P 0     ; Turn it back on for NUL
  386.   SET CON P 3     ; and for Ctrl-C
  387.   SET CON P 131   ; as well as Ctrl-C + parity bit
  388.  
  389. NOTE: 1 and 129 need not be prefixed when sending files *to* C-Kermit, but
  390. must be prefixed when sending files to MS-DOS Kermit.  13 normally need not be
  391. prefixed when sending files to either C-Kermit or MS-DOS Kermit, except on a
  392. TELNET connection (because TELNET servers are likely to change CRLF into CR).
  393.  
  394. Try to send the test file in binary mode.  If it works, fine.  If not, try
  395. prefixing some of the other likely control characters (see below).  Once you
  396. find the minimum set of prefixed control characters for the test file, it is a
  397. likely they will also work for any other file.  Try sending a large
  398. precompressed binary file.  And, of course, for maximum performance, also use
  399. a window size greater than 1 (say, 3) and a packet length around 1000.
  400.  
  401. Under ideal conditions (totally transparent and clean serial connection, no
  402. Xon/Xoff, and C-Kermit has been told to SET TRANSFER CANCELLATION OFF), the
  403. minimum set of control characters that need to be prefixed is:
  404.  
  405.   SENDER          RECEIVER         PREFIXED CONTROLS
  406.    MS-DOS Kermit   MS-DOS Kermit    1 129
  407.    MS-DOS Kermit   C-Kermit         0
  408.    C-Kermit        MS-DOS Kermit    0 1 129
  409.    C-Kermit        C-Kermit         0
  410.  
  411. For example, to set up C-Kermit to unprefix the minimum set of prefixed
  412. control characters for sending files to MS-DOS Kermit, tell C-Kermit to:
  413.  
  414.   SET FLOW NONE            ; Or SET FLOW RTS/CTS
  415.   SET CONTROL UNPREFIX ALL
  416.   SET CONTROL PREFIX 1 129 ; C-Kermit always prefixes character 0
  417.  
  418. When the mininum set doesn't work, consult this list of control characters
  419. that are apt to cause trouble and therefore likely candidates for prefixing.
  420. In particular, note that unprefixing of the packet-start character (normally
  421. 1 and 129), can cause problems when sending to C-Kermit if the communication
  422. link (including device input buffers) is noisy or apt to lose characters.
  423.  
  424. set con p 0   ; Ctrl-@ = NUL, internal string terminator in C-Kermit.
  425.               ;          Also, often discarded as padding.
  426. set con p 1   ; Ctrl-A = Packet-start character.
  427. set con p 3   ; Ctrl-C = Packet breakout for remote-mode C-Kermit,
  428.               ;          packet breakout for server-mode MS-DOS Kermit,
  429.               ;          likely to cause interruptions on other systems.
  430. set con p 13  ; Ctrl-M = Carriage return, always prefix on TELNET connections.
  431. set con p 14  ; Ctrl-N = Shift Out
  432. set con p 15  ; Ctrl-O = Shift In
  433. set con p 16  ; Ctrl-P = Commonly-used X.25/X.3 PAD escape character
  434. set con p 17  ; Ctrl-Q = XON, must be prefixed with Xon/Xoff flow control
  435. set con p 19  ; Ctrl-S = XOFF, must be prefixed with Xon/Xoff flow control
  436. set con p 27  ; Ctrl-[ = ESC, prefix if going through some kind of ANSI device
  437. set con p 28  ; Ctrl-\ = CONNECT-mode escape for C-Kermit
  438. set con p 29  ; Ctrl-] = CONNECT-mode escape for TELNET
  439. set con p 30  ; Ctrl-^ = Cisco terminal server escape.
  440. set con p 127 ; Ctrl-? = DEL, often discarded as padding.
  441.               ;          Also becomes TELNET IAC if parity bit is added.
  442. set con p 128 ; = NUL    + 128
  443. set con p 129 ; = Ctrl-A + 128
  444. set con p 131 ; = Ctrl-C + 128
  445. set con p 141 ; = CR + 128
  446. set con p 145 ; = XON + 128
  447. set con p 147 ; = XOFF + 128
  448. set con p 255 ; 255 = TELNET IAC, use P on TCP/IP TELNET connections
  449.  
  450. PREFIXING NOTES:
  451.  
  452. If C-Kermit or MS-DOS Kermit has initiated a TELNET connection, prefixing of
  453. 255 (TELNET IAC) is forced automatically.
  454.  
  455. Kermit will not let you unprefix XON (17), XOFF (19), XON+128 (145), or
  456. XOFF+128 (147) if its FLOW-CONTROL setting is XON/XOFF.  If you want to
  457. unprefix these, make sure *both* Kermits have been told to SET FLOW NONE (or
  458. RTS/CTS), and that XON/XOFF flow control is not in effect anywhere along the
  459. communication path between the two Kermits.
  460.  
  461. When sending files to C-Kermit, you should normally SET CONTROL PREFIX 3 and
  462. SET CONTROL PREFIX 131, because C-Kermit (by default) takes two Ctrl-C's (3 or
  463. 131) in a row as cancellation of packet-mode.  However, you can UNPREFIX these
  464. characters if you know your file does not contain two Ctrl-C's in a row, or if
  465. you tell C-Kermit to SET TRANSFER CANCELLATION OFF, or SET TRANSFER
  466. CANCELLATION ON <code> <number> when you know that <number> copies of <code>
  467. do not occur in a row in the data.
  468.  
  469. 4. OS/2 C-KERMIT IMPROVEMENTS 
  470.  
  471. TCP/IP support added, exactly as in the UNIX, VMS, and AOS/VS versions of
  472. C-Kermit; commands:
  473.  
  474.   SET NETWORK { TCP/IP, DECNET }
  475.   SHOW NETWORK
  476.   SET HOST <ip-name-or-address>
  477.   TELNET [ <ip-name-or-address> ]
  478.   <esc-char>I in CONNECT mode
  479.   <esc-char>A in CONNECT mode
  480.   <esc-char>B in CONNECT mode
  481.   etc, the same as for UNIX, (Open)VMS, and AOS/VS.
  482.  
  483. IMPORTANT NOTE: There is a new, automated installation procedure for OS/2
  484. C-Kermit, an INSTALL script written in Rexx.  In addition to making C-Kermit
  485. installation easier, it also performs a new installation step that is required
  486. for the 32-bit (TCP/IP-capable) version of OS/2 C-Kermit on OS/2 systems that
  487. do NOT have TCP/IP installed.  Read CKOKER.BWR about this.
  488.  
  489. Instantaneous screen scrollback and increased scrollback capacity; maximum
  490. screen length increased to 100 lines.
  491.  
  492. SET TERMINAL SCROLLBACK <number>
  493.   Size of terminal scrollback buffer.  <number> is how many screen lines to
  494.   save.  The default is 240 (10 screens if your screen length is 24).
  495.   The maximum is 240 for the 16-bit version and 4096 for the 32-bit version.
  496.  
  497. SET TERMINAL ANSWERBACK { OFF, ON }
  498.   Controls whether or not OS/2 C-Kermit's terminal emulator treats incoming
  499.   Ctrl-E characters as ENQ requests or simply ignores them.  ON means ENQ
  500.   causes C-Kermit to send an Answerback message, which is "OS/2 C-Kermit".
  501.   OFF, the default, means C-Kermit ignores Ctrl-E's.
  502.  
  503.  
  504. 5. NEW \F FUNCTION
  505.  
  506. \Freplace(s1,s2,s3).  This function replaces all occurrences of the string s2
  507. in the string s1 by the string s3.  s1 and s2 must be at least one character
  508. long.  s3 can be omitted, in which case all occurrences of s2 are removed from
  509. s1.  If s2 is omitted, s1 is returned unchanged.  Examples:
  510.  
  511.   \freplace(oofa,o,O)  = OOfa
  512.   \freplace(oofa,o,oo) = oooofa
  513.   \freplace(oofa,o)    = fa
  514.   \freplace(oofa)      = oofa
  515.  
  516. or (more practically for OS/2):
  517.  
  518.   \freplace(\v(cmdfile),\\,/) ; replace backslashes by forward slashes
  519.  
  520. 6. POSIX IMPROVEMENTS
  521.  
  522. Version 5A(189) added the ability of POSIX-based C-Kermit versions to obtain
  523. and send, as well as read and set, file creation dates during file transfer.
  524. Also added was the ability of POSIX-based C-Kermit to obtain its hostname,
  525. for use in the \v(host) variable and elsewhere.
  526.  
  527. 7. OUTPUT COMMAND IMPROVEMENTS
  528.  
  529. The OUTPUT command was changed to be buffered for increased efficiency, and a
  530. new command was added:
  531.  
  532.   SET OUTPUT PACING <number>
  533.  
  534. This causes C-Kermit to pause for (at least) the indicated number of
  535. milliseconds (thousandths of a second) after sending each character in the
  536. OUTPUT string.  Use this option when OUTPUT'ing characters to a device that
  537. can't receive characters at the full communication speed without losing or
  538. garbling them.  The default OUTPUT PACING is 0, i.e. no pauses.  Display with
  539. SHOW SCRIPTS.
  540.  
  541. 8. NEW APC COMMAND
  542.  
  543. The APC command is used for echoing text enclosed within a VT220/320/420
  544. Application Program Command.  Syntax:
  545.  
  546.   APC [ { ] text [ } ]
  547.  
  548. where text can be any text string.  As with the ECHO command, leading and
  549. trailing spaces are removed unless the text is enclosed in braces.  The
  550. intended use is for sending commands to MS-DOS Kermit 3.13 or later while
  551. MS-DOS Kermit is in CONNECT mode, i.e. while its VT220-or-higher terminal
  552. emulator is active.  See the MS-DOS Kermit 3.13 documentation for details.
  553. Here's an example that sets MS-DOS Kermit paramaters from the C-Kermit command
  554. line:
  555.  
  556.   C-Kermit>apc set block 3, set parity even
  557.  
  558. Here's another example in which you define a macro to send a file from
  559. C-Kermit, causing MS-DOS Kermit to receive it automatically without your
  560. having to escape back and type "receive":
  561.  
  562.   C-Kermit>define autosend apc receive, send \%1 \%2
  563.   C-Kermit>autosend oofa.txt
  564.  
  565. The macro definition is necessary in this case.  If you type APC RECEIVE at
  566. the C-Kermit prompt, MS-DOS Kermit goes immediately into RECEIVE mode and you
  567. have no way to give the SEND command to C-Kermit.  Conversely, if you type the
  568. SEND command first, C-Kermit goes into SEND mode, and you have no opportunity
  569. to give it an APC command.  When the macro is the source of commands, the
  570. "Catch-22" is avoided because the keyboard is out of the picture.
  571.  
  572. ------------------------------
  573. END OF CKCKER.UPD
  574.